<html><head></head>
<script src="foo.js"></script>
<body onload="doIt()">foo</body></html>